require 'watir'
include Watir
require 'test/unit'
class TC_blogsFrontEnd < Test::Unit::TestCase
  	def test_54_AttemptToSaveOwnersEmailAsNull_Blogs

  $ie.goto($UniVar)
  $ie.refresh()  

  $ie.link(:text, $ADMIN).click
  $ie.div(:index, 40).click

	$ie.text_field(:id, /ctl00_bcr_ctl03_ctl03_PrivateEmail/).clear
  $ie.button(:value, 'Save').click
	assert($ie.contain_text('Private Email is not a valid email address'))
	$ie.text_field(:id, /ctl00_bcr_ctl03_ctl03_PrivateEmail/).set('anonymous@telligent.com')
  $ie.button(:value, 'Save').click
	end
end